import React from 'react'
import { Swiper, Image } from 'react-vant';
import '../App.css'

export default function Mi() {

  let banmas = [
    "/img/4.jpg", "/img/2.jpg"
  ]

  return (
    <div>
      <div className='demo-swiper'>
        <Swiper autoplay={3000}>
          {
            banmas.map((image) => {
              return <Swiper.Item key={image}>
                <Image lazyload src={image } />
              </Swiper.Item>
            })
          }
        </Swiper>
      </div>
    </div>
  )
}
